package com.fintech.datagroud.dao.bairong;

import com.fintech.datagroud.entity.bairong.EdcBrCreditRiskEvaluation;

public interface EdcBrCreditRiskEvaluationMapper {
    int deleteByPrimaryKey(Long id);

    int insert(EdcBrCreditRiskEvaluation record);

    int insertSelective(EdcBrCreditRiskEvaluation record);

    EdcBrCreditRiskEvaluation selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(EdcBrCreditRiskEvaluation record);

    int updateByPrimaryKey(EdcBrCreditRiskEvaluation record);
    
    /**
     * 根据loanId查询最新一条信用评估记录
     */
    EdcBrCreditRiskEvaluation selectByLoanIdReturnOne(String loanId);
}